﻿@using VirtualPress.Infrastructure.Entities.Enum;
@using VirtualPress.Infrastructure.Entities.Entity;
@{
    Meeting meeting = ViewBag.Meeting;
    ViewBag.Title = "专家邀请 -- " + meeting.Name;
    Layout = "/Areas/WorkSpace/Views/Shared/_WorkSpace.cshtml";
}
@section head{
    <link rel="stylesheet" href="/content/css/uniform.css" />
}
<div id="content-header">
    <h1>
        专家邀请</h1>
</div>
<div id="breadcrumb">
    <a href="/WorkSpace/meeting/index" class="tip-bottom"><i class="icon-home"></i>起始页</a> <a href="/WorkSpace/Console/BaseInfo">
        期刊管理</a> <a href="javascript:" class="current">期刊链接</a>
</div>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="widget-box">
                <div class="widget-title">
                    <ul class="nav nav-tabs">
                        <li class=""><a href="/workspace/meeting/InviteCounsellor@{Html.Raw(String.IsNullOrEmpty(Request.QueryString["meeting"]) ? "" : "?meeting=" + Request.QueryString["meeting"]);}">从现有专家库添加</a></li>
                        <li class="active"><a>新邀请专家</a></li>
                    </ul>
                </div>
                <div class="widget-content tab-content">
                    <div class="tab-pane active">
                        <form id="form-wizard" action="/workspace/meeting/mailtoinvite" method="post"
                        class="form-horizontal ui-formwizard">
                        <input type="hidden" name="meeting" value="@Request.QueryString["meeting"]" />
                        <div id="form-wizard-1" class="step">
                            <div class="widget-content ui-formwizard-content nopadding">
                                <div class="new-update clearfix">
                                    <i class="icon-ok-sign"></i>
                                    <div class="update-done">
                                        <a title="" href="javascript:;"><strong>邮件邀请专家加入</strong></a> <span>通过邀请邮件的方式邀请专家加入编委会，本站会自动发出邀请邮件，被邀请专家只需要通过点击链接便能成为编委会成员</span>
                                    </div>
                                </div>
                                 @if (Request.HttpMethod.ToUpper() == "POST" && !String.IsNullOrEmpty(ViewBag.Message))
                                    {
                                        <div class="control-group">
                                            <p style="color: #b94a48; text-align: center;">
                                                @ViewBag.Message</p>
                                        </div>
                                    }
                                <div class="control-group">
                                    <label class="control-label">
                                        专家邮箱 (*)</label>
                                    <div class="controls">
                                        <input type="text" name="ExpertAccount" placeholder="example@gmail.com" class="{required:true,email:true}" value="@ViewBag.Account"/>
                                    </div>
                                </div>
                                <div class="form-actions">
                                    <a class="btn btn-primary" href="/workspace/meeting/Counsellor@{Html.Raw(String.IsNullOrEmpty(Request.QueryString["meeting"]) ? "" : "?meeting=" + Request.QueryString["meeting"]);}">
                                        返回</a>
                                    <input class="btn btn-primary ui-wizard-content ui-formwizard-button" type="submit"
                                        value="Search" />
                                </div>
                            </div>
                        </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@section tail{
    <script type="text/javascript" src="/scripts/jquery.validate.js"></script>
    <script type="text/javascript" src="/scripts/unicorn.wizard.js"></script>
    <script type="text/javascript" src="/scripts/jquery.metadata.js"></script>
    <script type="text/javascript" src="/scripts/jquery.wizard.js"></script>
<script type="text/javascript">
    $(function () {
        $('#likorganization').addClass('open active');
    });
</script>
